package com.nameless.controller.api;

import com.nameless.dao.MaintainShopDao;
import com.nameless.entity.MaintainShop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author keluoyisi
 * @program: car-parent
 * @description: 维修厂
 * @date 2023-02-28 21:49:14
 */
@SuppressWarnings("all")
@RestController
@RequestMapping("/car/api/maintainShop")
public class MaintainShopControllerApi {
    @Autowired
    private MaintainShopDao maintainShopDao;
    @GetMapping("/selectAll")
    public List<MaintainShop> selectAll(){
        return maintainShopDao.selectList(null);
    }
}
